package com.itheima.service;

import com.itheima.pojo.PageBean;
import com.itheima.pojo.Reservation;
import com.itheima.pojo.vo.ReservationVo;

import java.util.List;

public interface ReservationService {

    PageBean<ReservationVo> list(Integer pageNum, Integer pageSize, String name, String username,Integer status);

    void add(Reservation reservation);

    void updateStatus(Integer id,Integer status);

    void delete(Integer id);
}
